package com.credit.entity;

import java.util.Date;

import javax.persistence.MappedSuperclass;

import org.apache.commons.lang3.builder.ToStringBuilder;

@MappedSuperclass
public abstract class BussinessEntity extends IdEntity {

	private Date createTime;
	private Date updateTime;
	// 对象状�? -1 下线 0 待审 1 商用
	private Integer status = 0;

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
}
